# coding:utf-8

import os
import sys

BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))))
print(BASE_DIR, "aaa")
sys.path.extend([BASE_DIR, ])
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "finance_c2c.settings")

import django

django.setup()

from core.yl.client import YLClient

if __name__ == '__main__':
    # content = YLClient().get_token()
    content = YLClient().query("101719121918144599919368")
    print(content)
